﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_SendMessage.aspx.cs" Inherits="Master_Admin_SendMessage" %>
<%@ Register assembly="DotNetTextBox" namespace="DotNetTextBox" tagprefix="DNTB" %> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="Css/Css.css" rel="stylesheet" type="text/css" />
    <link href="../Css/ColorPicker.css" rel="stylesheet" type="text/css" />   
    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <script src="../Script/jquery.js" type="text/javascript"></script>
    <script src="../Script/ColorPicker.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css" />
    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <script src="../Script/formValidator/jquery_last.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidator.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidatorRegex.js" type="text/javascript"></script>
    <script language="javascript" src="../Script/formValidator/DateTimeMask.js" type="text/javascript"></script>
    <script src="../Script/ConvertTime.js" type="text/javascript"></script> 
    <script src="../Script/province.aspx"></script>
    <script src="../Script/popup.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
        $.formValidator.initConfig({ alertmessage: false, formid: "Form1", onerror: function(msg) { alert(msg) } });
        $("#txtTitle").formValidator({ tipid: "txtTipTitle", onshow: "请输入消息标题", onfocus: "消息标题不能为空", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 25, empty: { leftempty: false, rightempty: false, emptyerror: "消息标题两边不能有空符号" }, onerror: "消息标题长度必须在1-25位,请确认" });
        });
    </script>
</head>
<body>
    <form id="Form1" runat="server">
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr>
            <td colspan="2" align="center" class="title">
                <strong>短 消 息 管 理</strong>
            </td>
        </tr>
        <tr class="tdbg">
            <td width="70" height="30">
                <strong>管理导航：</strong>
            </td>
            <td height="30">
                <a href="Admin_SendMessage.aspx">发送短消息</a>&nbsp;|&nbsp;<a href="Admin_ManageMessage.aspx">发件箱</a>&nbsp;|&nbsp;<a href="Admin_ManageReciveMessage.aspx">收件箱</a>
            </td>
        </tr>
    </table>
      
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align=center>
            <tr>
                <td colspan="2" align="center" class="title">
                    <strong>
                        发送短消息</strong>
                </td>
            </tr>
            <tr class="tdbg">
                <td width="300" height="25" valign="middle">
                    <strong>消息标题：</strong>
                </td>
                <td height="25">
                    <asp:TextBox ID="txtTitle" runat="server" /><div id="txtTipTitle"></div>
                </td>
            </tr>
            
            <tr class="tdbg">
                <td width="300" height="25" valign="middle">
                    <strong>接收方选择：</strong></td>
                <td height="25">
                    <asp:DropDownList ID="ddlReciveid" runat="server">
                        <asp:ListItem>
                            所有人
                        </asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>            
            
            
            <tr class="tdbg">
                <td width="300" height="25" valign="middle">
                    <strong>消息内容：</strong>
                </td>
                <td height="25">
                    <DNTB:WebEditor ID="WebEditor1" runat="server" /><div id="WebEditor1Tip" >
                </td>
            </tr>     
            <tr class="tdbg">
                <td height="40" colspan="2" align="center">
                    <input name="Action" type="hidden" id="Action" value="SaveModify">
                    <asp:Button  ID="btnSubmit" runat="server" 
                        Style="cursor: hand; background-color: #cccccc; height: 20px;" 
                        Text="  确     定  " OnClick="btnSubmit_Click" />&nbsp;
                       <input type="button" Style="cursor: hand; background-color: #cccccc; height: 20px;" value="清&nbsp;空" />
                    
                    
                    
                </td>
            </tr>
        </table>  
    </form>
</body>
</html>